
 
package Main;
import javax.swing.*;
import java.awt.*;

public class TheGuiDebug
{
	private static String[] theArgs;
	public static String theName;
	public static int theLevel;
	public static int theShip;
	private static Container c;
	private static JFrame fra;
	
	
	
	public TheGuiDebug() 
	{
		//making the window...
		fra = new JFrame("OpenFlight Debug Mode");
		fra.setSize(900,700);
		fra.setFocusable(false); //test
		c = fra.getContentPane();
		fra.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		
	    c.add(new JPanel());
		fra.setResizable(false);
		fra.setLocationRelativeTo(null);
		fra.setVisible(true);
		fra.setFocusable(false);
		c.repaint();
		c.setFocusable(true);
		c.requestFocus();
		Session theSession = new Session(theLevel,theName,theShip,c,fra);
		theSession.startGamePlay();
	}
	
}